package com.vhall.autotest.api_test.common;

public class ConstantCloudwise {
	public static final String ENV = "test_cloud";//test online
	
	public static String apiDomain;
	public static String grant_type;
	public static String username;
	public static String password;
	public static String client_id;
	public static String client_secret;
	
	static{
		refresh();
	}
	
	public static void refresh(){
		if(ENV.equals("test_cloud")){
			apiDomain = "http://api.jiankongbao.com";
//			获取token
			grant_type = "password";
			username = "admin@jiankongbao.com";
			password = "26ea57518a98bf2d89b0881502c605d6";
			client_id = "162";
			client_secret = "fd5d03a1931e81d682c7c3ed16d695b6b47c0673";
			
		}else if(ENV.equals("online")){
			apiDomain = "http://api.jiankongbao.com";
		}
	}
}
